home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- #
- # The text of this plugin is (C) Red Hat Inc.
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(14596);
- script_version ("$Revision: 1.4 $");
- script_cve_id("CAN-2004-0642", "CAN-2004-0643", "CAN-2004-0644");
-
- name["english"] = "RHSA-2004-448: krb";
-
- script_name(english:name["english"]);
-
- desc["english"] = '
-
- Updated Kerberos (krb5) packages that correct double-free and ASN.1
- parsing bugs are now available for Red Hat Enterprise Linux.
-
- Kerberos is a networked authentication system that uses a trusted third
- party (a KDC) to authenticate clients and servers to each other.
-
- Several double-free bugs were found in the Kerberos 5 KDC and libraries. A
- remote attacker could potentially exploit these flaws to execute arbitrary
- code. The Common Vulnerabilities and Exposures project (cve.mitre.org) has
- assigned the names CAN-2004-0642 and CAN-2004-0643 to these issues.
-
- A double-free bug was also found in the krb524 server (CAN-2004-0772),
- however this issue was fixed for Red Hat Enterprise Linux 2.1 users by a
- previous erratum, RHSA-2003:052.
-
- An infinite loop bug was found in the Kerberos 5 ASN.1 decoder library. A
- remote attacker may be able to trigger this flaw and cause a denial of
- service. The Common Vulnerabilities and Exposures project (cve.mitre.org)
- has assigned the name CAN-2004-0644 to this issue.
-
- All users of krb5 should upgrade to these updated packages, which contain
- backported security patches to resolve these issues.
-
-
-
-
- Solution : http://rhn.redhat.com/errata/RHSA-2004-448.html
- Risk factor : High';
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the krb packages";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Red Hat Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
-
- script_require_keys("Host/RedHat/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"krb5-devel-1.2.2-31", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"krb5-libs-1.2.2-31", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"krb5-server-1.2.2-31", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"krb5-workstation-1.2.2-31", release:"RHEL2.1") )
- {
- security_hole(0);
- exit(0);
- }
-
- if ( rpm_exists(rpm:"krb-", release:"RHEL2.1") )
- {
- set_kb_item(name:"CAN-2004-0642", value:TRUE);
- set_kb_item(name:"CAN-2004-0643", value:TRUE);
- set_kb_item(name:"CAN-2004-0644", value:TRUE);
- }
-
- set_kb_item(name:"RHSA-2004-448", value:TRUE);
-